package com.tanovo.bo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

@Data
public class UserRegisterBo {
    @Size(min=11, max=11 ,message = "请输入11位电话号码")
    @NotBlank(message = "电话号码不能为空")
    private String phone;
    @ApiModelProperty(name = "密码", notes = "密码")
    @NotBlank(message = "密码不能为空")
    private String password;
    @ApiModelProperty(name = "验证码", notes = "验证码")
    private String code;
    @ApiModelProperty(notes = "公司id")
    private Integer companyId;
}
